package com.example.batch.mapper;

import com.example.batch.model.TTask;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * MyBatis Mapper：t_task 表操作
 */
@Mapper
public interface TTaskMapper {

    int insert(TTask task);

    List<TTask> selectByMissionId(@Param("missionId") Long missionId);

    int updateStatus(TTask task);
}
